# -*- mode: snippet -*-
#Author : Jonas Bonèr <jonas@jonasboner.com>
#name : try { .. } catch { case e => ..} finally { ..}
# key: try
# --
try {
  $0
} catch {
  case ${1:e}: ${2:Exception} =>
    ${1:println(\"ERROR: \" + e) // TODO: handle exception}\n}
} finally {

}